package com.yzc.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yzc.model.DTO.AttractionOrderDetail;
import com.yzc.model.entity.ticket_order.OrderAttraction;
import com.yzc.model.vo.page.PageResult;
import com.yzc.model.vo.ticket_order.AttractionOrderVO;
import com.yzc.result.Result;

public interface TicketAttractionOrderService extends IService<OrderAttraction> {
    PageResult<AttractionOrderVO> listOrders(Long userId, Integer pageNo, Integer pageSize);

    // 创建购票订单
    void createTicketOrder(AttractionOrderDetail attraction);

    Result<String> payOrder(Long orderId, String paymentMethod);
}